﻿using IndustrialCommunication.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;

namespace IndustrialCommunication.Core
{
    public class NetClient:SocketClient
    {
        public INetOptions NetOptions {  get; set; }
        public void InitialicationLink()
        {
            base.Options = NetOptions;
            base.Connect();
            InitializationOnConnect();
        }
        public virtual void InitializationOnConnect()
        {
        }
        protected INetMessage SendAndReceive(INetMessage netMessage)
        {

            return null;
        }
    }
}
